<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="./template.xhtml">

    <ui:define name="title">
        Timeline - <span class="subitem">Basic</span>
    </ui:define>

    <ui:define name="description">
        Timeline is an interactive visualization chart to visualize events in time.
    </ui:define>

    <ui:param name="documentationLink" value="/components/timeline" />

    <ui:define name="implementation">

        <p:growl id="growl" showSummary="true" showDetail="true">
            <p:autoUpdate />
        </p:growl>

        <p:timeline id="timeline" value="#{basicTimelineView.model}" height="250px"
                selectable="#{basicTimelineView.selectable}"
                zoomable="#{basicTimelineView.zoomable}"
                moveable="#{basicTimelineView.moveable}"
                stackEvents="#{basicTimelineView.stackEvents}"
                axisOnTop="#{basicTimelineView.axisOnTop}"
                eventStyle="#{basicTimelineView.eventStyle}"
                showCurrentTime="#{basicTimelineView.showCurrentTime}">

            <p:ajax event="select" listener="#{basicTimelineView.onSelect}"/>

        </p:timeline>

    </ui:define>

</ui:composition>